package hu.bme.mit.rifl.business.nodes;

import hu.bme.mit.rifl.business.base.WFElement;
import hu.bme.mit.rifl.business.shared.Coordinator;

/**
 * The first node of the workflow. The test data assigned in the Coordinator is
 * getting served here first.
 */
public class SubmitOrder extends WFElement {

	public SubmitOrder(Coordinator coordinator) {
		super(coordinator, "SubmitOrder");
	}

	public void process() {
		this.order.setState("NEW");
		this.order.setStateCodes(0);
	}
}